﻿<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6 lte9 lte8 lte7 no-js"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7 lte9 lte8 lte7 no-js"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8 lte9 lte8 no-js"> <![endif]-->
<!--[if IE 9 ]><html class="ie ie9 lte9 no-js"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="notie no-js">
<!--<![endif]-->
<head>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    @MvcHtmlString.Create(Html.Theme("default"))
    @Html.ScriptRefs("jquery.min.js",
    "jquery-ui.min.js",
    "jquery.tmpl.min.js",
    "jquery.farbtastic.mini.js",
    "jquery.validate.min.js",
    "jquery.validate.unobtrusive.min.js",
    "dna/runtime.min.js",
    "dna.djme/djme2.min.js",
    "plugins/ajaxupload.js",
    "plugins/jquery.tools.min.js",
    "modernizr.min.js")
    <style type="text/css">
        #d-menu-area .d-panel-body { padding: 0px; }
    </style>
     @RenderSection("HeaderSection", false)
</head>
<body style="border: none; background: none;">
    <div id="dna-page-toolbox">
        @Html.Partial(LayoutSwitcher.GetLayoutView("SiteTools"))
    </div>
    <div style="clear: right; padding-top: 5px;">
        <table style="width: 100%;">
            <tr>
                <td style="width: 150px; vertical-align: top; padding: 0px 5px 0px 5px;" id="d-menu-area">
                    @{
                        if (ViewBag.IsPersonalControlPanel != null && ViewBag.IsPersonalControlPanel)
                        {
                            Html.RenderPartial("_DashboardMenu", Dashboard.PersonalGroups);
                        }
                        else
                        {
                            Html.RenderPartial("_DashboardMenu", Dashboard.SystemGroups);
                        }
                    }
                </td>
                <td id="d-content-area" style="vertical-align: top; padding: 0px 5px 0px 5px;">
                    @RenderBody()
                </td>
            </tr>
        </table>
    </div>
    @Html.StartupScripts()
</body>
</html>
